package com.example.utils;

import com.fasterxml.jackson.databind.ObjectMapper;

import java.util.TimeZone;

/**
 * @author chentao
 * @version 1.0
 * @description: TODO
 * @date 2025/3/22 下午6:27
 */
public class ObjectMapperUtils {

    public static ObjectMapper getDefaultObjectMapper(){
        ObjectMapper objectMapper = new ObjectMapper();
        TimeZone timeZone = TimeZone.getDefault();
        objectMapper.setTimeZone(timeZone);
        return objectMapper;
    }
}
